
{[include file="contact/customer/_view.tpl"]}

<fieldset>
<legend>跟单信息</legend>
<form id="form_edit">
<input type="hidden" name="id" value="{[$smarty.request.id]}" />
  <table>
	<tr>
		<td width="20%" align="right">标题：</td>
		<td width="80%"><input type="text" name="title" value="{[$result.title]}" size="40"></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td><textarea rows="3" name="content" cols="55">{[$result.content]}</textarea></td>
	</tr>
	{[foreach name=outer key=key item=item from=$file]}
	{[assign var="no" value="`$key+$pager->from+1`"]}
	{[if $smarty.foreach.outer.first]}
	<tr>
		<td align="right">附件：</td>
		<td>{[/if]}
		{[$no]}、<a href="{[$item.file]}" style="color:blue" target="_blank">{[$item.name]}</a>({[$item.size_t]})<br/>
		{[if $smarty.foreach.outer.last]}
		</td>
	</tr>
	{[/if]}
	{[/foreach]}
  </table>
</form>
</fieldset>

<script type="text/javascript" src="js/customer/info/edit.js?r={[$smarty.now]}"></script>